package com.npjscg.medicalpro.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.npjscg.medicalpro.controller.dto.BusinessDTO;
import com.npjscg.medicalpro.entity.Business;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author raote
 * @since 2022-07-09
 */
public interface IBusinessService extends IService<Business> {

    IPage findAll(Page<BusinessDTO> page, int status);

    void saveBusiness(Business business);

    IPage findAllForU(Page<Business> page, int id, int status);
}
